package com.bnz.manager.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author xy
 * @date 2022/11/2
 */

/**
 * 构造一对多表连接
 * @param <T> 一
 * @param <D> 多
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ConnectionVo<T,D> {
    private T one;
    private List<D> many;
}
